home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / ifupdown.postrm < prev    next >
Text File  |  2008-10-12  |  652b  |  29 lines

  1. #!/bin/sh
  2.  
  3. case "$1" in
  4.   purge)
  5.     # Note: We don't remove /etc/network/interfaces
  6.     rm -f /etc/network/run/ifstate
  7.  
  8.     if [ -L /etc/network/run ] ; then
  9.       rm -f /etc/network/run
  10.     elif [ -d /etc/network/run ] ; then
  11.       rmdir --ignore-fail-on-non-empty /etc/network/run
  12.     fi
  13.     ;;
  14. esac
  15.  
  16. # Automatically added by dh_installdebconf
  17. if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
  18.     . /usr/share/debconf/confmodule
  19.     db_purge
  20. fi
  21. # End automatically added section
  22. # Automatically added by dh_installinit
  23. if [ "$1" = "purge" ] ; then
  24.     update-rc.d loopback remove >/dev/null || exit $?
  25. fi
  26. # End automatically added section
  27.  
  28.  
  29.